Component({
    properties: {},
    data: {
        systemInfo: {},
        menuInfo: {},
        toppb: 0
    },
    attached: function() {
        var t = wx.getMenuButtonBoundingClientRect(), n = wx.getSystemInfoSync();
        this.setData({
            systemInfo: n,
            menuInfo: t
        }), this.setData({
            toppb: this.rpxtopx(14)
        });
    },
    methods: {
        rpxtopx: function(t) {
            return t * wx.getSystemInfoSync().windowWidth / 750;
        }
    }
});